Repository navigation
Add net family transfers between households - #1298
Open
marcelolafleur wants to merge 9 commits into
Open
marcelolafleur wants to merge 9 commits into
marcelolafleur wants to merge 9 commits into
Conversation
Government transfers are shared out by eta, held at one age-by-group matrix in every year. As the population ages, each person's transfer then drifts away from its intended profile. eta now takes a (T+S) x S x J path, like omega and rho. An S x J matrix is still accepted and held constant over time, so existing inputs give the same model parameters, bit for bit.
…o one Remittances are shared out by eta_RM the same way transfers are shared out by eta, so it gets the same (T+S) x S x J path. Older 2-D inputs, S x J or T x S, give the same model parameters as before. A warning now flags any period where eta or eta_RM does not sum to one, since households would then receive a different total than the aggregate.
Households can now pass resources to each other, such as working-age children supporting their parents. phi_FT gives, for each period, age and ability type, the net transfer received as a share of GDP; each period must sum to zero, so aggregate resources, revenue and the government budget are unchanged. The transfers reach the household budget next to remittances, outside taxes and government transfers. Off (zero) by default, which leaves every result as it was.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1298 +/- ##
==========================================
+ Coverage 80.16% 80.24% +0.08%
==========================================
Files 24 24
Lines 7223 7279 +56
==========================================
+ Hits 5790 5841 +51
- Misses 1433 1438 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
marcelolafleur
added a commit
to marcelolafleur/OG-ETH
that referenced
this pull request
Nov 25, 2026
…and patience set by saving within the return evidence Net family transfers (phi_FT, PSLmodels/OG-Core#1298) are fitted so that consumption per adult by age follows a consumption-by-age target: private consumption by age that the National Transfer Accounts of 70 countries predict for Ethiopia's income and age structure, with the consumption of people under 20 carried by the adults who support them (ogeth/data/consumption_by_age.csv). The discount factor is a constant, 0.94: as much household saving as keeps the owners' long-run return on capital at the bottom of the return evidence, 6 percent. Capital builds up from the measured stock and the firms' return reaches the 4 percent world rate by about 2035. Dials, scales and the warm-start seed refolded; RC_TPI 0.003 for OG-Core's period-120 population switch. The dashboard counts consumption including the subsistence floor.
…s that a 2-D eta passed directly to adjust now fails validation
marcelolafleur
marked this pull request as ready for review
November 25, 2026 22:47
Contributor
Author
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on #1297; its commits come first, and the new work is the family-transfer commits.
Problem. In many low-income countries older people live on support from their children. In OG-Core each household lives off its own budget, so in OG-ETH people over 65 consumed far less than prime-age adults and kept working long past what surveys show.
What this adds
phi_FT: net family transfers as a share of GDP, by age and income group; positive for those who receive support, negative for those who give it.Specifications), so the transfers only move resources between households: aggregate resources and the government budget are unchanged.ft.master.In OG-ETH (EAPD-DRB/OG-ETH#111), working-age adults support older people, with the transfers fitted so that consumption per adult by age follows its target. The figure compares OG-ETH's calibration just before family transfers were added with the adopted one (other parts of the calibration also changed between the two):
Consumption by age now follows its target, and older people work less, though still more than the surveys show from about 70.
Tests. The transfers net to zero in the steady state and in every year of the path, they are added only when turned on, and shares that do not sum to zero are rejected. The household and parameter tests pass locally (118 passed).